<#include "/includes/header.ftl">

<div id='productlist_contents'>
<#if couponItem?has_content>
		<div class="label">coupon Id:</div>
		<div>
	          <A href='<@spring.url "/viewcoupondetail.jsp?cpsid=${couponItem.coupon.sysId}"/>'>${couponItem.coupon.id}</A>
		</div>
		
		<div class="label">coupon Name:</div>
		<div>
	          ${couponItem.coupon.name?default("No-Name")}
		</div>
		
		<div class="label">coupon Full Name:</div>
		<div>
	          ${couponItem.coupon.name?default("No-FullName")}
		</div>
				
		<div class="label">coupon Item Id:</div>
		<div>
	          ${couponItem.id?default("No-id")}
		</div>
		
		<#assign bonusValue = couponItem.coupon.bonusValue?default(0)>
		
		<#if bonusValue gt 0>
		<div class="label">Lottery Number 1:</div>
		<div>
	          ${couponItem.lotteryNumber1?default("No-LotteryNumber1")}
		</div>
		</#if>
				
		<#if bonusValue gt 1>
		<div class="label">Lottery Number 2:</div>
		<div>
	          ${couponItem.lotteryNumber2?default("No-LotteryNumber2")}
		</div>
		</#if>
				
		
		<#if bonusValue gt 2>
		<div class="label">Lottery Number 3:</div>
		<div>
	          ${couponItem.lotteryNumber3?default("No-LotteryNumber3")}
		</div>
		</#if>
		
		<#if bonusValue gt 3>
		<div class="label">Lottery Number 4:</div>
		<div>
	          ${couponItem.lotteryNumber4?default("No-LotteryNumber4")}
		</div>
		</#if>
		
		<#if bonusValue gt 4>
		<div class="label">Lottery Number 5:</div>
		<div>
	          ${couponItem.lotteryNumber5?default("No-LotteryNumber5")}
		</div>
		</#if>

		
		<div class="label">Customer Comment:</div>
		<div>
	          ${couponItem.shortDesc?default("No-shortDesc")}
		</div>
</#if>
</div>

<#include "/includes/footer.ftl">